﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Phoenix.Common;

namespace Phoenix.AdminSite.Controllers
{
    public class StatusController : Controller
    {
        //
        // GET: /Status/

        public ActionResult Index()
        {
            return View();
        }

		public ActionResult ShowJsonMsg(HttpContext context, ActionStatus status, string msg)
		{
			context.Response.ContentType = "application/json";
			context.Response.Write("{\"response\":null,\"status\":\"" + status.ToString().ToLower() + "\",\"msg\":\"" + msg + "\"}");

			return null;
		}

    }
}
